﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddOprRecord.aspx.cs" Inherits="AddOprRecord" %>
<%@ Register Src="head.ascx" TagName="Head" TagPrefix="uc1" %>
<%@ Register Src="timer.ascx" TagName="Head" TagPrefix="uc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>服务器操作记录工具</title>
     <script type="text/javascript" language="javascript" src="calendar.js"></script>
      <link href="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div style="vertical-align: middle; text-align: center">
    <form id="form1" runat="server">
      <table width="100%" border="0">
      <tr>
       <td style="height: 53px">
        <uc1:Head ID="Head2" runat="server" />
    </td>
       </tr>
  <tr>
    <td style="font-size: 15px">
        <table id="tblLog" style="width: 626px"  runat="server" border="1" cellpadding="0" cellspacing="0" >
            <tr>
                <td colspan="2">
                    添加操作记录</td>
            </tr>
            <tr>
                <td style="width: 136px">
                    流程名称：</td>
                <td align="left" style="width: 338px">
                    &nbsp;<asp:DropDownList ID="DropFlowName" runat="server" DataTextField="name" DataValueField="flow_id">
                    </asp:DropDownList></td>
            </tr>
             <tr>
                <td style="width: 136px; height: 11px;">
                    实际开始时间：</td>
                <td align="left" style="width: 338px; height: 11px;">
                    &nbsp;<uc2:Head ID="TxtStartTime" runat="server"/>
                </td>
            </tr>
            <tr>
                <td style="width: 136px; height: 15px;">
                    实际结束时间：</td>
                <td align="left" style="width: 338px; height: 15px;">
                    &nbsp;<uc2:Head ID="TxtEndTime" runat="server" />
                </td>
            </tr>
            <tr>
                <td style="width: 136px">
                    TAG或版本名称：</td>
                <td align="left" style="width: 338px">
                    &nbsp;<asp:TextBox ID="TxtTagVersion" runat="server"></asp:TextBox>
                    </td>
            </tr>
            <tr>
                <td style="width: 136px">
                    操作类型：</td>
                <td align="left" style="width: 338px">
                    &nbsp;<asp:DropDownList ID="DropOprType" runat="server" AutoPostBack="True">
                        <asp:ListItem Value="0">日常web发布</asp:ListItem>
                        <asp:ListItem Value="1">日常维护</asp:ListItem>
                        <asp:ListItem Value="2">紧急发布</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 136px; height: 24px;">
                    操作结果类别：</td>
                <td align="left" style="width: 338px; height: 24px;">
                    &nbsp;<asp:DropDownList ID="OprResultType" runat="server" AutoPostBack="True">
                      <asp:ListItem Value="0">无意外</asp:ListItem>
                      <asp:ListItem Value="1">失败回滚</asp:ListItem>
                      <asp:ListItem Value="2">服务器5分钟内故障</asp:ListItem>
                      <asp:ListItem Value="3">服务器半小时内故障</asp:ListItem>
                      <asp:ListItem Value="4">服务器一小时内故障</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 136px">
                    操作人：</td>
                <td align="left" style="width: 338px">
                    &nbsp;<asp:CheckBoxList ID="ChkOprUser" runat="server" DataTextField="user_name" DataValueField="user_id" RepeatDirection="Horizontal" RepeatLayout="Flow"></asp:CheckBoxList>
                    </td>
            </tr>
            <tr>
                <td style="width: 136px; height: 40px;">
                    更新文件列表：</td>
                <td align="left" style="width: 338px; height: 40px;"><asp:TextBox ID="updatefilelist" runat="server" TextMode="MultiLine" Height="99px" Width="342px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 136px; height: 77px">
                    过程意外说明：</td>
                <td align="left" style="width: 338px; height: 77px;">
                    <asp:TextBox ID="TxtFaultDesc" runat="server" TextMode="MultiLine" Height="74px" Width="341px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 136px; height: 77px">
                   故障及解决方法：</td>
                <td align="left" style="width: 338px; height: 77px;">
                    <asp:TextBox ID="FaultDisposedMethod" runat="server" TextMode="MultiLine" Height="75px" Width="342px"></asp:TextBox></td>
            </tr>
        </table>
        <table id="Table1" runat="server" border="1" cellpadding="0" cellspacing="0" style="width: 626px" >
            <tr>
               <td colspan="2" bgcolor="#CCCCCC"><strong>产口信息</strong></td>
            </tr>
            <tr>
                <td style="width: 136px; height: 7px;">
                    产品名称：</td>
                <td align="left" style="width: 347px; height: 7px;">
                    &nbsp;<asp:TextBox ID="ProductName" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="height: 21px; width:136px;">
                     项目经理：</td>
                <td align="left" style="width: 347px;">
                    &nbsp;<asp:TextBox ID="PM" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="height: 21px; width:136px;">
                     产品经理：</td>
                <td align="left" style="width: 347px; ">
                    &nbsp;<asp:TextBox ID="PA" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 136px">
                     开发成员：</td>
                <td align="left" style="width: 347px">
                    &nbsp;<asp:TextBox ID="DEV" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 136px">
                     测试成员：</td>
                <td align="left" style="width: 347px">
                    &nbsp;<asp:TextBox ID="QA" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width:136px;">
                    运营/市场人员：</td>
                <td align="left" style="width: 347px; ">
                    &nbsp;<asp:TextBox ID="Marcket" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width:136px; height: 1px;">
                </td>
                <td align="left" style="width:347px; height: 1px;">
                    &nbsp;<asp:Button ID="Button1" runat="server" Text="提交" OnClick="Button1_Click" /></td>
            </tr>
        </table>
      <asp:HiddenField ID="workid" runat="server" />
      <asp:HiddenField ID="signType" runat="server" />
        </td>
  </tr>
  </table>
    </form>
  </div>
</body>
</html>
